﻿@{
    ViewBag.Title = "财务积分操作界面";
    int total = 0;
}


<div class="mainContentWithBorderNopadding2" id="sosMainDiv">
    <span class="weightTitle">快车之友积分兑换</span>
    <div class="pTitle">
        <table id="handlerRefferLogTB">
            <tr>
                <td>
                    <label for="ReferrerId">推荐人ID:</label><input id="ReferrerId" type="text" /></td>
                <td>
                    <label for="Referrer">推荐人姓名:</label><input id="Referrer" type="text" /></td>
                <td style="padding-left: 10px">
                    <button type="button" class="btn btn-primary" id="btnFilterRefferLog">查询</button></td>
            </tr>
            <tr>

                <td>
                    <label for="Sdate">起始日期:</label>
                    <input type="text" id="Sdate" class="date_txt input_font Wdate" /></td>
                <td>
                    <label for="Edate">结束日期:</label><input type="text" id="Edate" class="date_txt input_font Wdate" /></td>
                <td></td>
            </tr>

        </table>
    </div>
    <div class="divLog">
        <table class="table table-bordered table-hover ExpandTB" id="expandTbSum">
            <thead>
                <tr>
                    <td>快车之友ID</td>
                    <td>快车之友姓名</td>
                    <td>总积分</td>
                </tr>
            </thead>
            <tbody>
            </tbody>
            <tfoot>
                <tr>
                    <td>合计</td>
                    <td></td>
                    <td><span id="spanTotal"></span></td>
                </tr>
            </tfoot>
        </table>
    </div>
    <div id="pp" class="pagination" style="margin-left:30px"></div>
</div>

<script id="ReflogSum-template" type="text/x-handlebars-template">
    {{#each joins}}
                    <tr data-userid="{{UserId}}">
                        <td>{{UserId}}</td>
                        <td>{{UserName}}</td>
                        <td>{{TotalPoint}}</td>
                    </tr>
    {{/each}}
</script>

@section scripts
{
    @Scripts.Render("~/bundles/JSTmp")
    @Scripts.Render("~/bundles/Page")
    @Scripts.Render("~/bundles/WdatePicker")
    @Scripts.Render("~/bundles/FinanceAdmin")
}
